//
//  VSFindViewController.m
//  UI项目2.0
//
//  Created by dlios on 15/7/15.
//  Copyright (c) 2015年 星际科技. All rights reserved.
//

#import "VSFindViewController.h"
#import "VSFindClothesViewController.h"
#import "VSFindGiftViewController.h"
#import "VSFindLifeViewController.h"
#import "VSFindOtherViewController.h"
#import "SCNavTabBarController.h"
#import "VSFrameGrand.h"
#import "BaseHeader.h"
@interface VSFindViewController ()

@property (nonatomic, retain) UIButton *backGroundButton;
@property (nonatomic, retain) UIView *titleView;
@end

@implementation VSFindViewController

- (void)dealloc
{
    [_backGroundButton release];
    [super dealloc];
}

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.view.backgroundColor = [UIColor whiteColor];
    self.navigationItem.title = @"发现";
    self.navigationController.navigationBar.barTintColor = NAVCOLOR
    self.navigationController.navigationBar.translucent = NO;
    
    VSFindClothesViewController *clothesView = [[[VSFindClothesViewController alloc]init]autorelease];
    clothesView.title = @"      时装秀     ";
    
    VSFindGiftViewController *giftView = [[[VSFindGiftViewController alloc]init]autorelease];
    giftView.title = @"     淘生活     ";
    
    VSFindOtherViewController *otherView = [[[VSFindOtherViewController alloc]init]autorelease];
    otherView.title = @"     秀壁纸      ";
    
    SCNavTabBarController *navTabBar = [[[SCNavTabBarController alloc]init]autorelease];
    
    navTabBar.subViewControllers = @[clothesView, giftView, otherView];
    navTabBar.showArrowButton = NO;
    [navTabBar addParentController:self];

   
    
}




- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
